package org.oexam.ostudy.facade;


import org.oexam.ostudy.facade.struct.StudentDetails;
import org.oexam.ostudy.facade.struct.StudentList;

import org.oexam.ostudy.sl.ManageStudentList;

public class ViewStudentList {
	
	 public StudentList getStudentList() {
		 
		 ManageStudentList manageStudents = new ManageStudentList();
		 StudentList list = manageStudents.getStudentList();
		 return list;
	}
	 
	 public StudentDetails getStudentDetails(int student_id) {
		    ManageStudentList manageStudents = new ManageStudentList();
		    StudentDetails sd = manageStudents.getStudentDetails(student_id);
			return sd;
	} 
	 
	 public boolean deletetStudent(int student_id) {
		    ManageStudentList manageStudents = new ManageStudentList();
		    boolean ret = manageStudents.deleteStudent(student_id);
			return ret;
	} 

}
